.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.681);
  z-index: 9999;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.my-modal {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  overflow: hidden;
  width: 90%;
  height: 500px;
}

.popup-content {
  position: absolute;
  overflow: hidden;
  overflow-y: scroll;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: cover;
  width: 100%;
  height: 100%;
  background-color: #efefef;
  animation: popup-fade 0.6s ease-in-out;
  position: relative;
}

.popup-header {
  width: 90vw;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
}
.popup-header p {
  flex: 1;
  text-align: center;
  padding-left: 30px;
}

.modal-swiper {
  width: 100%;
  height: 100%;
  overflow: visible;
  margin-top: 8px;
}
.modal-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background-color: #cecece;
  transition: 0.5s;
}

.modal-swiper .swiper-pagination-bullet-active {
  background-color: #f3b5c5;
  width: 26px;
}

.modal-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

#big-div {
  width: 100%;
  color: white;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: fixed;
  z-index: 3;
}

#big-img {
  border-radius: 5px;
  max-width: 80%;
  max-height: 80%;
  min-width: 80%;
  min-height: 80%;
}

.swiper-wrapper .swiper-slide img {
  cursor: pointer;
}

.imagesSwiper {
  width: 90vw;
  height: 260px;
  margin: 0 auto;
}

.imagesSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.imagesSwiper .swiper-slide img {
  width: 240px;
  height: 245px;
  object-fit: contain;
}

.swiper-pagination {
  position: absolute;
  bottom: 0px !important;
}
.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background-color: #7d7d7d !important;
  transition: 0.5s;
}
.swiper-pagination-bullet-active {
  background-color: #b8b8b8 !important;
  width: 26px;
}

#dalia-pagination-v2 span {
  background-color: #7d7d7d !important;
}
#dalia-pagination-v3 span {
  background-color: #bbcdef !important;
}
.popup-description-holder {
  background-color: #fff;
  position: absolute;
  bottom: 0;
  height: 50vh;
  width: 100%;
  padding: 30px 40px;
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 45px;
}
.popup-description-holder span {
  background-color: #4a4a3d;
  padding: 8px 28px;
  border-radius: 28px;
  color: #fff;
}
.popup-description-holder span::after {
  content: "تومان";
  font-size: 0.825rem;
  margin-right: 5px;
  font-family: iran yekan;
}
.popup-description-holder p {
  font-family: iran yekan;
  font-weight: 500;
  font-size: 1rem;
  max-height: 30%;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
.popup-description-holder > div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

@keyframes popup-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, 100%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
